﻿namespace Cofoundry.Core.AutoUpdate;

/// <summary>
/// Handler for executing IUpdateCommands synchronously
/// </summary>
/// <typeparam name="TCommand">Type of command to execute</typeparam>
public interface ISyncAlwaysRunUpdateCommandHandler<in TCommand> : IAlwaysRunUpdateCommandHandler<TCommand>
    where TCommand : IAlwaysRunUpdateCommand
{
    /// <summary>
    /// Executes the specified command.
    /// </summary>
    /// <param name="command">Command to execute</param>
    void Execute(TCommand command);
}
